/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.encapsulation.conf;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.encapsulation.encapsulation.encapsulation;
import za.ac.cput.encapsulation.encapsulation.impl.Lecturer;
/**
 *
 * @author Administrator
 */
@Configurable
public class AppCongif 
{
    @Bean(name = "Lec")
    public encapsulation encapsulation() 
    {
        return new Lecturer();
    }

    @Bean
    public encapsulation newComp() 
    {
        return new Lecturer();
    }

    @Bean(name = "Nlec")
    public encapsulation Lecturer()
    {
        return new Lecturer();
    }
}
